package com.zhangxun.feign;

import com.zhangxun.domain.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("order-service")
public interface MessageOrderFeign {


    @GetMapping("/p/myOrder/loadById/{orderNo}")
    Order loadById(@PathVariable("orderNo") String orderNo);
}
